package org.rcy.framework.security.form;

import org.rcy.framework.security.authentication.AbstractFormToken;

public class PasswordToken extends AbstractFormToken {
    private static final long serialVersionUID = 1L;
    private String password;

    public PasswordToken(String username, String password) {
        super(username);
        this.password = password == null ? "" : password;
    }

    public String getCredentials() {
        return this.password;
    }
}
